package com.lyandwc.lw_bbs.security.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyandwc.lw_bbs.security.entity.Role;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface RoleDao extends BaseMapper<Role> {
    List<Role> findRoleByUserId(int userId);
}
